{% extends 'front/front_signbase.html' %}
{% from 'common/_macro.html' import static %}

{% block title %}Python 论坛注册{% endblock %}

{% block head %}
    <script src="{{ static('front/js/front_signup.js') }}"></script>
{% endblock %}

{% block page_title %}
注册
{% endblock %}

{% block body %}
     <div class="sigin-box">
            <div class="form-group">
                <div class="input-group">
                    <input type="text" class="form-control" name="telephone" placeholder="手机号码">
                    <spna class="input-group-btn">
                        <button class="btn btn-default" id="btn_sms_captcha">发送验证码</button>
                    </spna>
                </div>
            </div>
            <div class="form-group">
                    <input type="text" class="form-control" name="sms_captcha" placeholder="短信验证码">
            </div>
            <div class="form-group">
                    <input type="text" class="form-control" name="username" placeholder="用户名">
            </div>
            <div class="form-group">
                    <input type="password" class="form-control" name="password1" placeholder="密码">
            </div>
            <div class="form-group">
                    <input type="password" class="form-control" name="password2" placeholder="确认密码">
            </div>
            <div class="form-group">
                <div class="input-group">
                    <input type="text" class="form-control" name="graph_captcha" placeholder="图形验证码">
                    <spna class="input-group-addon captcha-addon">
                        <img class="captcha-img" id="captcha-img" src="{{ url_for('common.graph_captcha') }}" alt="">
                    </spna>
                </div>
            </div>
            <div class="form-group">

                <button class="btn btn-warning btn-block" id="submit-btn">立即注册</button>
            </div>
        </div>
{% endblock %}


